/**
 * @file   Chicken.h
 * @author zhang zi ang  <zza@ubuntu>
 * @date   Fri Jul  7 07:45:48 2023
 * 
 * @brief  This is a very stupid class.
 * 
 * 
 */

#include <iostream>



/**
 * Chicken is a kind of powerful animal.
 * 
 */
class Chicken
{
private:
    int age;		/**< The age of a chicken. */
    int ID;			/**< Every chicken has a ID no. */
    double weight;		/**< The weight of a chicken. */
public:
    /** 
     * Construct a chicken.
     * 
     * @param _a to set the age.
     * @param _I to set the ID.
     * @param _w to set the weight.
     */
    Chicken( int _a, int _I,double _w) :  age(_a), ID(_I),weight(_w) {};

    /** 
     * Long live the chicken!
     * 
     */
    ~Chicken() {
	std::cout << "Chicken will never DIE!" << std::endl;
    };

    /** 
     * Even a duck will laugh...
     * 
     */
    void sing () {
	std::cout << "Kunkunkun!" << std::endl;
    };
};